package com.clpms.bean.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author caixinyong
 * @date 2023/5/9 8:00 PM
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CourseQueryReq {

	private String keyWord;

	private Integer assessmentMethod;

	@NotNull(message = "pageNum不能为空")
	private Integer pageNum = 1;

	@NotNull(message = "pageSize不能为空")
	private Integer pageSize = 15;
}
